<!DOCTYPE html>
<html lang="en">
    <head>
        <title>PHP-CRUD-ADMIN</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
        <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap-theme.min.css" rel="stylesheet">
    </head>
    <body>
        <div class="container">
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <a class="navbar-brand" href="{{base}}/admin/table/list">PHP-CRUD-ADMIN</a>
                    </div>
                </div>
            </nav>
            <div class="row">
                <div class="col-md-3">
                    <ul class="nav nav-pills nav-stacked">
                        {{for:item:menu}}
                            <li{{if:item|eq(table)}} class="active"{{endif}}>
                                <a href="{{base}}/admin/column/{{item}}/list">{{item}}</a>
                            </li>
                        {{endfor}}
                    </ul>
                </div>
                <div class="col-md-9">
                    {{content}}
                </div>
            </div>
        </div>
    </body>
</html>